package com.sunda.spmsorder.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 物料申请单明细表
 * </p>
 *
 * @author Wayne
 * @since 2021-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MATERIAL_APPLICATION_DTL")
@ApiModel(value="MaterialApplicationDtl对象", description="物料申请单明细表")
public class MaterialApplicationDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物料申请单uuid")
    @TableField("APPLICATION_UUID")
    private String applicationUuid;

    @ApiModelProperty(value = "物料申请单行号")
    @TableField("APPLICATION_ITEM")
    private String applicationItem;

    @ApiModelProperty(value = "物料名称/描述")
    @TableField("MATERIAL_EN_DESC")
    private String materialEnDesc;

    @ApiModelProperty(value = "规格型号")
    @TableField("SPECS")
    private String specs;

    @ApiModelProperty(value = "单位")
    @TableField("BASIC_UNIT")
    private String basicUnit;

    @ApiModelProperty(value = "材质")
    @TableField("MATERIAL_MODEL")
    private String materialModel;

    @ApiModelProperty(value = "图号/订货号")
    @TableField("SUPPLIER_MATERIAL_NO")
    private String supplierMaterialNo;

    @ApiModelProperty(value = "其他技术补充参数")
    @TableField("SUPPLY_DESC")
    private String supplyDesc;

    @ApiModelProperty(value = "配套设备名称")
    @TableField("RELATE_EQUIPMENT")
    private String relateEquipment;

    @ApiModelProperty(value = "设备型号")
    @TableField("EQUIPMENT_SPEC")
    private String equipmentSpec;

    @ApiModelProperty(value = "设备供应商")
    @TableField("EQUIPEMNT_SUPPLIER")
    private String equipmentSupplier;

    @ApiModelProperty(value = "设备品牌")
    @TableField("EQUIPMENT_BRAND")
    private String equipmentBrand;

    @ApiModelProperty(value = "备件大类")
    @TableField("PRODUCT_LEVEL_LARGE_DESC")
    private String productLevelLargeDesc;

    @ApiModelProperty(value = "备件次级分类")
    @TableField("PRODUCT_LEVEL_MID_DESC")
    private String productLevelMidDesc;

    @ApiModelProperty(value = "备件小类")
    @TableField("PRODUCT_LEVEL_SMALL_DESC")
    private String productLevelSmallDesc;

    @ApiModelProperty(value = "备件图片")
    @TableField("PICTURE")
    private String picture;

    @ApiModelProperty(value = "备注信息")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "物料申请单明细自增ID")
    @TableId(value = "AUTO_ID", type = IdType.AUTO)
    private Integer autoId;

    @ApiModelProperty(value="物料号")
    @TableField(value= "MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value="采购员（绑定采购组）")
    @TableField(value= "PURCHASE_USERNAME")
    private String purchaseUsername;

    @ApiModelProperty(value="备用字段")
    @TableField(value= "SPARE_FIELD")
    private String spareField;

    @ApiModelProperty(value="第三方平台")
    @TableField(value= "THIRD_PARTY_PLATFORM")
    private String thirdPartyPlatform;

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public String getPurchaseUsername() {
        return purchaseUsername;
    }

    public void setPurchaseUsername(String purchaseUsername) {
        this.purchaseUsername = purchaseUsername;
    }

    public String getSpareField() {
        return spareField;
    }

    public void setSpareField(String spareField) {
        this.spareField = spareField;
    }

    public String getThirdPartyPlatform() {
        return thirdPartyPlatform;
    }

    public void setThirdPartyPlatform(String thirdPartyPlatform) {
        this.thirdPartyPlatform = thirdPartyPlatform;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    @ApiModelProperty(value="产品网址")
    @TableField(value= "LINK")
    private String link;

    @ApiModelProperty(value="订货编码")
    @TableField(value= "SKU")
    private String sku;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getApplicationUuid() {
        return applicationUuid;
    }

    public void setApplicationUuid(String applicationUuid) {
        this.applicationUuid = applicationUuid;
    }

    public String getApplicationItem() {
        return applicationItem;
    }

    public void setApplicationItem(String applicationItem) {
        this.applicationItem = applicationItem;
    }

    public String getMaterialEnDesc() {
        return materialEnDesc;
    }

    public void setMaterialEnDesc(String materialEnDesc) {
        this.materialEnDesc = materialEnDesc;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getBasicUnit() {
        return basicUnit;
    }

    public void setBasicUnit(String basicUnit) {
        this.basicUnit = basicUnit;
    }

    public String getMaterialModel() {
        return materialModel;
    }

    public void setMaterialModel(String materialModel) {
        this.materialModel = materialModel;
    }

    public String getSupplierMaterialNo() {
        return supplierMaterialNo;
    }

    public void setSupplierMaterialNo(String supplierMaterialNo) {
        this.supplierMaterialNo = supplierMaterialNo;
    }

    public String getSupplyDesc() {
        return supplyDesc;
    }

    public void setSupplyDesc(String supplyDesc) {
        this.supplyDesc = supplyDesc;
    }

    public String getRelateEquipment() {
        return relateEquipment;
    }

    public void setRelateEquipment(String relateEquipment) {
        this.relateEquipment = relateEquipment;
    }

    public String getEquipmentSpec() {
        return equipmentSpec;
    }

    public void setEquipmentSpec(String equipmentSpec) {
        this.equipmentSpec = equipmentSpec;
    }

    public String getEquipmentSupplier() {
        return equipmentSupplier;
    }

    public void setEquipmentSupplier(String equipemntSupplier) {
        this.equipmentSupplier = equipemntSupplier;
    }

    public String getEquipmentBrand() {
        return equipmentBrand;
    }

    public void setEquipmentBrand(String equipmentBrand) {
        this.equipmentBrand = equipmentBrand;
    }

    public String getProductLevelLargeDesc() {
        return productLevelLargeDesc;
    }

    public void setProductLevelLargeDesc(String productLevelLargeDesc) {
        this.productLevelLargeDesc = productLevelLargeDesc;
    }

    public String getProductLevelMidDesc() {
        return productLevelMidDesc;
    }

    public void setProductLevelMidDesc(String productLevelMidDesc) {
        this.productLevelMidDesc = productLevelMidDesc;
    }

    public String getProductLevelSmallDesc() {
        return productLevelSmallDesc;
    }

    public void setProductLevelSmallDesc(String productLevelSmallDesc) {
        this.productLevelSmallDesc = productLevelSmallDesc;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getAutoId() {
        return autoId;
    }

    public void setAutoId(Integer autoId) {
        this.autoId = autoId;
    }
}
